const { bookImage } = require("../model/index")
class BookImageService{
    async createBookImage(filename,bookId) {
        try {
            
            await bookImage.create({
                filename, bookId,
                mimetype: "",
                size:""
            })
        } catch (error) {
            console.log(error)
        }
    }

}
module.exports=new BookImageService()